﻿using System.Collections.Generic;
using System.Threading.Tasks;
using com.IronOne.BoardPACWinAppBO.Settings;

namespace com.IronOne.BoardPACWinApp.Helpers
{
    public interface IAppSettingsManager
    {
        bool WriteAppSettingsToLocalSettings(AppSettingModel model);
        bool WriteAppSettingsToRoamingSettings(AppSettingModel model);
        AppSettingModel ReadAppSettingsFromLocalSettings();
        AppSettingModel ReadAppSettingsFromRoamingSettings();
        Task<AppSettingModel> ReadAppSettingsFromXmlFile();
        Task<AppSettingModel> ReadDateFormatsNSyncFreqsFromXmlFile();
        Task<List<CustomKeyValuePair<string, string>>> ReadDateFormatsFromXmlFile();
        Task<List<CustomKeyValuePair<string, string>>> ReadSyncFrequenciesFromXmlFile();
    }
}